package com.segersten.othello.service.akka;

import com.segersten.othello.service.rest.AuthenticationServiceFactory;

public class Factory
{
    private static GameObjectPoolFactory gamePoolObjectFactory = null;
    private static AuthenticationServiceFactory authenticationServiceFactory = null;

    public static GameObjectPoolFactory getGamePoolObjectFactory()
    {
        return gamePoolObjectFactory;
    }

    public static void setGamePoolObjectFactory(GameObjectPoolFactory factory)
    {
        Factory.gamePoolObjectFactory = factory;
    }
    
    public static void setAuthenticationServiceFactory(AuthenticationServiceFactory factory)
    {
        Factory.authenticationServiceFactory = factory;
    }

    public static AuthenticationServiceFactory getAuthenticationServiceFactory()
    {
        return authenticationServiceFactory;
    }
    
    
}
